/***destructors***/
#include<conio.h>
#include<stdio.h>
#include<iostream>
using namespace std;

class CRectangle
{
	int *width, *height;
public:
	CRectangle(int , int );
	~CRectangle();
	int area();
};
CRectangle::CRectangle(int a, int b)
{
	width= new int ;
	height=new int ;
	*width=a;
	*height=b;
}
CRectangle::~CRectangle()
{
	delete width;
	delete height;
}
int CRectangle::area()
{
	return (*width*(*height));
}
int main()
{
	CRectangle recta(3,4);
	cout<<"area a:"<<recta.area();
	getch();
	return 0;
}
